<extend name="Base/commoncenter"/>

<block name="body">
    <div class="row " style="">
        <div class="col-md-6 ">
            <div class="page-header">
                <h1>订单编号：{$vo.id} <small>正在付款</small></h1>
            </div>
            <div>
                <div class="row">
                    <div class="col-md-8">                         
                        <address>
                            收件人(person)：<strong>{$vo.name}</strong><br>
                            国家(Country)：	{$vo.country} <br> 
                            州/省(Province)：	{$vo.province} <br> 
                            城市(City)：	{$vo.city}	<br> 
                            地址1(Address)：		{$vo.address} <br>                    
                            邮编(Zip Code)：	{$vo.zipcode}<br>
                            电话(Tel)：{$vo.phone}
                        </address> 
                    </div>
                    <div class="col-md-4"><img src="__STATIC__/phpqrcode/QRcode.php?id={$vo.id}&type=order&size=4" ></div>
                </div>


            </div>
            <div >
                <table width="100%" border="0" class="table table-condensed ">
                    <tr>
                        <th scope="col">需要出库的</th>
                        <th scope="col">包裹编码/包裹描述</th>
                    </tr>
                    <volist name="vo.packages" id="vs"> 
                        <tr>   
                            <td><img   src="__STATIC__/phpqrcode/QRcode.php?id={$vo.id}&type=package&size=3"> </td>
                            <td> 
                                {$vs.id}/{$vs.name}/{$vs.remark}
                            </td>  
                        </tr>
                    </volist>
                </table>
            </div>
        </div>
        <div class="col-md-6">
            <div class="panel panel-default">
                <div class="panel-heading">收银台</div>
                <div class="panel-body">
                    <form role="form" action="{:U('Center/payaction')}" method="POST" id="addfrom" class="demoform">             
                        <input type="hidden" name="TOKEN" value="{:session('TOKEN')}">
                        <input type="hidden" name="oid" value="{$vo.id}">            
                        <div class="form-group text-center">
                            <blockquote>
                                <p class="text-success" style="font-size: 50pt;color: #16AA8E">{$vo.money}元</p>
                                <footer>订单金额</footer>
                            </blockquote>
                        </div>
                        <div class="text-center">
                            <hr class="featurette-divider">                                                              
                            <button type="submit" id="subbtn" class="btn btn-success">确认支付</button>
                        </div>
                    </form>
                </div>
            </div>
        </div>
    </div>

</block>